img = zeros(256*256*256,2,3,'uint8');
iPixel = 1;
for r = 0:255
	for g = 0:255
	for b = 0:255
	img(iPixel,:,1)=r;
	img(iPixel,:,2)=g;
	img(iPixel,:,3)=b;
	iPixel  =  iPixel +1;
end
end
end
img = double(img);
%lab = RGB2Lab(img(:,:,1),img(:,:,2),img(:,:,3));
lab = RGB2Lab(img);
disp('L')
min(min(lab(:,:,1)))
max(max(lab(:,:,1)))

disp('A')
min(min(lab(:,:,2)))
max(max(lab(:,:,2)))

disp('B')
min(min(lab(:,:,3)))
max(max(lab(:,:,3)))

